#ifndef __STARTSCREEN_H__
#define __STARTSCREEN_H__

#include "Screen.h"

#include <windows.h>
#include <gl/glut.h>	/* this includes the others */
#include <stdio.h>
#include <cmath>

#include <cstdlib>


class StartScreen : public Screen
{
private:
public:
	StartScreen() { }
	virtual void Draw()
	{
		glPushAttrib(GL_ALL_ATTRIB_BITS);
        glMatrixMode(GL_PROJECTION);        
        glLoadIdentity();        
		glMatrixMode(GL_MODELVIEW);
		glLoadIdentity();
		gluOrtho2D(0, 10, 0, 10);
        {                
                int i=0;
                const char* text = "Welcome to Graphic Game";                
                
				glLoadIdentity();

                glColor3f(1.0,1.0,1.0);
                glRasterPos2f(-1.0,0.7);                

                for(i=0; i<23; i++){
                        glutBitmapCharacter(GLUT_BITMAP_9_BY_15, text[i]);
                }

				glLoadIdentity();

                glColor3f(1.0,0.0,0.0);
                glRasterPos2f(-1,0.4);

                text = "Press 'S' Button to Start Game";
                for(i=0; i<37; i++){
                        glutBitmapCharacter(GLUT_BITMAP_9_BY_15, text[i]);
                }                
        }

        glFlush();
        glPopAttrib();
	}
};

#endif